<table class="table table-responsive" id="categories-table">
    <thead>
        <th>ID</th>
        <th>昵称</th>
        <th>头像</th>
        <th>性别</th>
        <th>城市</th>
        <th>时间</th>
        {{--<th colspan="3">Action<th>--}}
    </thead>
    <tbody>
    @foreach($users as $user)
        <tr>
            <td>{!! $user->id !!}</td>
            <td>{!! $user->nickname !!}</td>
            <td>{!! $user->avatar_url  !!}</td>
            <td>@tpic($user->avatar_url)</td>
            <td>{!! $user->sex==1?'男':'女' !!}</td>
            <td>{!! $user->city !!}</td>
            <td>{!! $user->created_at !!}</td>
            {{--<td>--}}
                {{--{!! Form::open(['route' => ['categories.destroy', $user->id], 'method' => 'delete']) !!}--}}
                {{--<div class='btn-group'>--}}
                    {{--<a href="{!! route('categories.show', [$user->id]) !!}" class='btn btn-default btn-xs'><i class="glyphicon glyphicon-eye-open"></i></a>--}}
                    {{--<a href="{!! route('categories.edit', [$user->id]) !!}" class='btn btn-default btn-xs'><i class="glyphicon glyphicon-edit"></i></a>--}}
                    {{--{!! Form::button('<i class="glyphicon glyphicon-trash"></i>', ['type' => 'submit', 'class' => 'btn btn-danger btn-xs', 'onclick' => "return confirm('Are you sure?')"]) !!}--}}
                {{--</div>--}}
                {{--{!! Form::close() !!}--}}
            {{--</td>--}}
        </tr>
    @endforeach
    </tbody>
</table>